package com.example.influxdb01.pojo;

import lombok.Data;
import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

/**
 * @author yihao
 * @description 接收卫星参数的POJO类
 * @time 2022/04/26 14:16:54
 */
@Data
@Measurement(name = "ResultTM")
public class PackageInfo {

    @Column(name = "PackageKey", tag = true)
    private String packageKey;

    @Column(name = "PackageName", tag = true)
    private String packageName;

    @Column(name = "ParaCode", tag = true)
    private String paraCode;

    @Column(name = "ParaIndex", tag = true)
    private String paraIndex;

    @Column(name = "ParaName", tag = true)
    private String paraName;

    @Column(name = "TelemetryType", tag = true)
    private String telemetryType;

    @Column(name="ResultPhy")
    private Double resultPhy;

    @Column(name="ResultRaw")
    private String resultRaw;

    @Column(name = "time")
    private String time;

    public String getPackageKey() {
        return packageKey;
    }

    public void setPackageKey(String packageKey) {
        this.packageKey = packageKey;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getParaCode() {
        return paraCode;
    }

    public void setParaCode(String paraCode) {
        this.paraCode = paraCode;
    }

    public String getParaIndex() {
        return paraIndex;
    }

    public void setParaIndex(String paraIndex) {
        this.paraIndex = paraIndex;
    }

    public String getParaName() {
        return paraName;
    }

    public void setParaName(String paraName) {
        this.paraName = paraName;
    }

    public String getTelemetryType() {
        return telemetryType;
    }

    public void setTelemetryType(String telemetryType) {
        this.telemetryType = telemetryType;
    }

    public Double getResultPhy() {
        return resultPhy;
    }

    public void setResultPhy(Double resultPhy) {
        this.resultPhy = resultPhy;
    }

    public String getResultRaw() {
        return resultRaw;
    }

    public void setResultRaw(String resultRaw) {
        this.resultRaw = resultRaw;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }
}
